<?php

	require_once('class.smartyExt.php');
	$smartyExt = new smartyExt();
	//$date = date('Y-m-d H:i:s');
	$date = time();
	$smartyExt->assign('upper','upper');
	$smartyExt->assign('topic','topic');
	$smartyExt->assign('now',$date);
	$smartyExt->assign('mailto','alone');
	$smartyExt->assign('name',array('title'=>'smarty测试','body'=>'smarty'));
	$smartyExt->display('index.html');
?>